package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageResult;

import java.util.Date;
import java.util.List;

public interface EmpService {
    PageResult query(int page, int pageSize, String name, Integer gender, Date begin, Date end);
    void delete(List<Integer> ids);
    void save(Emp emp);

    Emp selById(Long id);

    void update(Emp emp);

    Emp login(Emp emp);
}
